package com.java_exam.java_exam.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {
    @TableId(type = IdType.AUTO)  //设置自增
    private int studentId;
    private String studentName;
    private String studentNumber;
    private String studentPassword;
    private int schoolId;
    private int classId;
    private int teacherId;


}
